Optimal. Leaf size=97 \[ -\frac {4 \sqrt {-\cos (c+d x)} \sqrt {\cos (c+d x)} \csc (c+d x) \Pi \left (\frac {1}{3};\text {ArcSin}\left (\frac {\sqrt {-2+3 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right ) \sqrt {-1+\sec (c+d x)} \sqrt {1+\sec (c+d x)}}{3 \sqrt {5} d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2889, 2888}
\begin {gather*} -\frac {4 \sqrt {-\cos (c+d x)} \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\sec (c+d x)-1} \sqrt {\sec (c+d x)+1} \Pi \left (\frac {1}{3};\text {ArcSin}\left (\frac {\sqrt {3 \cos (c+d x)-2}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right )}{3 \sqrt {5} d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2888
Rule 2889
Rubi steps
\begin {align*} \int \frac {\sqrt {-\cos (c+d x)}}{\sqrt {-2+3 \cos (c+d x)}} \, dx &=\frac {\sqrt {-\cos (c+d x)} \int \frac {\sqrt {\cos (c+d x)}}{\sqrt {-2+3 \cos (c+d x)}} \, dx}{\sqrt {\cos (c+d x)}}\\ &=-\frac {4 \sqrt {-\cos (c+d x)} \sqrt {\cos (c+d x)} \csc (c+d x) \Pi \left (\frac {1}{3};\sin ^{-1}\left (\frac {\sqrt {-2+3 \cos (c+d x)}}{\sqrt {\cos (c+d x)}}\right )|\frac {1}{5}\right ) \sqrt {-1+\sec (c+d x)} \sqrt {1+\sec (c+d x)}}{3 \sqrt {5} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 142, normalized size = 1.46 \begin {gather*} \frac {4 \cos ^2\left (\frac {1}{2} (c+d x)\right ) \sqrt {\frac {\cos (c+d x)}{1+\cos (c+d x)}} \sqrt {\frac {-2+3 \cos (c+d x)}{1+\cos (c+d x)}} \left (F\left (\text {ArcSin}\left (\sqrt {5} \tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {1}{5}\right )-2 \Pi \left (-\frac {1}{5};\text {ArcSin}\left (\sqrt {5} \tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {1}{5}\right )\right )}{\sqrt {5} d \sqrt {-\cos (c+d x)} \sqrt {-2+3 \cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 142, normalized size = 1.46
method | result | size |
default | \(-\frac {2 \left (\EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right )-2 \EllipticPi \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, -1, \sqrt {5}\right )\right ) \left (\sin ^{2}\left (d x +c \right )\right ) \sqrt {-\cos \left (d x +c \right )}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}}{d \sqrt {-2+3 \cos \left (d x +c \right )}\, \left (-1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )}\) | \(142\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- \cos {\left (c + d x \right )}}}{\sqrt {3 \cos {\left (c + d x \right )} - 2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {-\cos \left (c+d\,x\right )}}{\sqrt {3\,\cos \left (c+d\,x\right )-2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________